package com.ict.ms.userLogin.service.dao;

import com.ict.ms.userLogin.facade.model.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by chenlong on 2016/6/21.
 */
@Repository
public interface IUserInfoDao {
    UserInfo getUserInfo(@Param("userName") String userName);
    void userAdd(@Param("userInfo") UserInfo userInfo);
    void userDelete(@Param("userName") String userName);
    void userUpdate(@Param("userInfo") UserInfo userInfo);
    List<UserInfo> getAllUser();
}
